package cn.wolfcode.designpattern.adapter;

/**
 * @author Leon
 * @date 2021/2/23
 * 序列化接口
 */
public interface Serializer {

    byte[] serialize(String msg);

    String deserialize(byte[] bytes);
}
